
#include "./include/LinkedList.h"
#include "./include/SqList.h"

#define FLAG_T 1

void SetOperation()
{
    int setFlag = 1;
    while(FLAG_T)
    {
        cout << "1、顺序表      2、链表     3、退出" << endl;
        cin >> setFlag;
        switch(setFlag)
        {
            case 1:
            {
                MySqList();
                continue;
            }
            case 2:
            {
                MyLinkedList();
                continue;
            }
            case 3:
            {
                cout << "感谢您的使用!" << endl;
                sleep(1);
                exit(0);
            }
        }
    }
}

int main()
{
    SetOperation();
    return 0;
}

